package com.damai.utils.value;

import java.math.BigDecimal;

import com.citywithincity.db.interfaces.IValueConvert;

class BigDecimal2Long implements IValueConvert {
	BigDecimal2Long(){
		
	}
	@Override
	public Object convert(Object value) {
		if(value==null)return null;
		return ((BigDecimal)value).longValue();
	}

}
